package com.ly.mpayment.persist.service.mobile;

import java.util.List;
import java.util.Map;

import com.ly.mpayment.persist.entity.Mobile;
import com.ly.mpayment.persist.hibernate.Page;

public interface IMobileService {

	public Mobile findPhone(String phone);

	public boolean saveMobile(Mobile weiliu);

	public List<Mobile> findAllProvince();

	public List<Mobile> findAllCity(String province);

	public List<Mobile> findProvinceCity(String province);

	public boolean updateMobile(Mobile weiliu);

	public Page<Mobile> findPageMobile(Map<String, Object> parameters, int start, int pageSize) ;

	public Mobile findById(long id);

	public List<Mobile> findAllCityIsnull(boolean temp);

	/**
	 * 查询最大的maxid
	 * @return
	 */
    String findByMaxId();

	boolean createMobile(Mobile mobile);
}
